package com.lowca.news.web.jsonbean;

import java.util.ArrayList;
import java.util.List;

public class TreeNodeBean {
	private String id;
	private Boolean leaf;
	private String text;
	private String path;
	private String href;
	private List<TreeNodeBean> children = new ArrayList<TreeNodeBean>(0);

	public TreeNodeBean() {
		super();
	}

	public TreeNodeBean(String id, Boolean leaf, String text, String path,
			String href) {
		super();
		this.id = id;
		this.leaf = leaf;
		this.text = text;
		this.path = path;
		this.href = href;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Boolean getLeaf() {
		return leaf;
	}

	public void setLeaf(Boolean leaf) {
		this.leaf = leaf;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getHref() {
		return href;
	}

	public void setHref(String href) {
		this.href = href;
	}

	public List<TreeNodeBean> getChildren() {
		return children;
	}

	public void setChildren(List<TreeNodeBean> children) {
		this.children = children;
	}

}
